home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
TGCBOR20.ARJ
/
INTROPAK.COM
/
HIDESHOW.C
< prev
next >
Wrap
Text File
|
1991-04-06
|
477b
|
36 lines
/* -- This program shows how a image can be moved around behind */
/* -- another image(s). */
#include "teglsys.h"
imagestkptr fs;
void main(void)
{
easytegl();
easyout();
pushimage(1,1,100,100);
shadowbox(1,1,100,100);
fs = stackptr;
pushimage(50,50,150,150);
shadowbox(50,50,150,150);
while (mouse_buttons == 0) ;
hideimage(fs);
showimage(fs,fs->x + 100,fs->y + 100);
teglsupervisor();
}